<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://webservices.groove.net/Groove/2.0/Discussion/" xmlns:c="http://webservices.groove.net/Groove/2.0/Core/" xmlns:e="http://webservices.groove.net/Groove/2.0/Events/" elementFormDefault="qualified" targetNamespace="http://webservices.groove.net/Groove/2.0/Discussion/" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="./Core.xsd" namespace="http://webservices.groove.net/Groove/2.0/Core/" />
  <xs:import schemaLocation="./Events.xsd" namespace="http://webservices.groove.net/Groove/2.0/Events/" />
  <xs:complexType name="DiscussionEntry">
    <xs:sequence>
      <xs:element name="ID" type="xs:string" />
      <xs:element name="URI" type="xs:anyURI" />
      <xs:element name="CreatedBy" type="xs:anyURI" />
      <xs:element name="ModifiedBy" type="xs:anyURI" />
      <xs:element name="Created" type="xs:dateTime" />
      <xs:element name="Modified" type="xs:dateTime" />
      <xs:element name="Unread" type="xs:boolean" />
      <xs:element name="ParentID" type="xs:string" />
      <xs:element name="Subject" type="xs:string" />
      <xs:element name="Body" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="DiscussionEntryList">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="DiscussionEntry" type="tns:DiscussionEntry" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="DiscussionAddEventData">
    <xs:complexContent mixed="false">
      <xs:restriction base="e:EventData">
        <xs:sequence>
          <xs:element name="DiscussionEntries" type="tns:DiscussionEntryList" />
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="DiscussionUpdateEventData">
    <xs:complexContent mixed="false">
      <xs:restriction base="e:EventData">
        <xs:sequence>
          <xs:element name="DiscussionEntries" type="tns:DiscussionEntryList" />
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="DiscussionDeleteEventData">
    <xs:complexContent mixed="false">
      <xs:restriction base="e:EventData">
        <xs:sequence>
          <xs:element name="DiscussionIDs" type="c:IDList" />
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Create">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="DiscussionEntry" type="tns:DiscussionEntry" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="CreateResult" type="xs:anyURI" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="Read">
    <xs:complexType />
  </xs:element>
  <xs:element name="ReadResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="ReadResult" type="tns:DiscussionEntryList" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ReadEntry">
    <xs:complexType />
  </xs:element>
  <xs:element name="ReadEntryResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="ReadEntryResult" type="tns:DiscussionEntry" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateEntry">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="DiscussionEntry" type="tns:DiscussionEntry" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateEntryResponse">
    <xs:complexType />
  </xs:element>
  <xs:element name="DeleteEntry">
    <xs:complexType />
  </xs:element>
  <xs:element name="DeleteEntryResponse">
    <xs:complexType />
  </xs:element>
  <xs:element name="UpdateUnreadMark">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="UnreadState" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateUnreadMarkResponse">
    <xs:complexType />
  </xs:element>
</xs:schema>